﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestDemo.aspx.cs" Inherits="flow_sw_bcsqlc_Apply" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>页面</title>
    <script src="../Scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <link href="../CSS/style.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/master.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/normal.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/fujian1.js" type="text/javascript"></script>
    <script type="text/javascript">
        function IsNull() {
            if (document.getElementById("tb_txr").value == "") {
                alert("请输入填写人！");
                return false;
            }
            if (document.getElementById("tb_txsj").value == "") {
                alert("请选择填写时间！");
                return false;
            }
            if (confirm("请确定所填信息准确完备，点击确定提交表单！") == true) {
                return true;
            }
            else {
                return false;
            }
        }
        ///判定数字格式
        function isnum(str) {

            var regu = "^[0-9]+[\.][0-9]{0,3}$";
            var re = new RegExp(regu);

            var regu1 = "^[0-9]+$";
            var re1 = new RegExp(regu1);

            var s = str;
            if (re.test(s) || re1.test(s)) {
                return true;
            }
            else {
                alert("请输正确的格式！");

                return false;
            }
        }
        function getyj() {
            var n = 9;
            var rnd = "";
            for (var i = 0; i < n; i++) {
                rnd += Math.floor(Math.random() * 10);
            }
            var strUrl = "/bpm_ex/flow/sw/public/cyymage.aspx?code=yj&name=意见&num=" + rnd;
            var parms = "";
            parms = window.showModalDialog(strUrl, "", "dialogWidth:750px;dialogHeight:500px;help:no;status:no;center:yes;resizable:no;scrollbars=no;align:center;scroll_x:no;");
            if (parms != null && parms != undefined) {
                document.getElementById("tb_yijian").value = parms;
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="monad_d" style="width: 855px">
        <h1 style="text-align: center">
            挂表及反馈</h1>
        <table border="0" cellspacing="0" cellpadding="0" class="monad" style="width: 840px">
            <tr class="gridItem">
                <th colspan="4">
                    <b>基本信息</b>
                </th>
            </tr>
            <tr>
                <th style="width: 300px">
                    受理人：
                </th>
                <td style="width: 319px">
                    <asp:Label ID="lblName" runat="server"></asp:Label>
                    <asp:Label ID="lblusercode" runat="server" Width="71px" Visible="false"></asp:Label>
                    <input id="hidgdbh" runat="server" type="hidden" />
                    <input id="hidguid" runat="server" type="hidden" />
                </td>
                <th style="width: 144px">
                    受理时间：
                </th>
                <td style="width: 333px">
                    <asp:Label ID="lblTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})"> </asp:Label>
                </td>
            </tr>
            <tr>
                <th style="width: 300px">
                    受理部门：
                </th>
                <td style="width: 319px">
                    <asp:Label ID="lblDept" runat="server"></asp:Label>
                </td>
                <th style="width: 144px">
                    联系电话：
                </th>
                <td style="width: 333px">
                    <asp:Label ID="lbllxdh" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <th style="width: 300px">
                    工单编号：
                </th>
                <td style="width: 319px">
                    <asp:Label ID="bianhao" runat="server" CssClass='w200'></asp:Label>
                </td>
                <th style="width: 144px">
                    建设费征收编号：
                </th>
                <td style="width: 333px">
                    <asp:Label ID="jsfzsdjbh" runat="server"> </asp:Label>
                </td>
            </tr>
            <tr>
                <th style="width: 300px">
                    安装类别：
                </th>
                <td style="width: 319px">
                    <asp:DropDownList ID="ddlazlb" runat="server" Width="206px" CssClass='w200' Enabled="false">
                        <asp:ListItem Value="正式用水" Text="正式用水"></asp:ListItem>
                        <asp:ListItem Value="临时用水" Text="临时用水"></asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <th style="width: 300px">
                    报装类型：
                </th>
                <td colspan="3" style="width: 500px">
                    <table border="0" cellspacing="0" cellpadding="0" class="monad" style="width: 686px">
                        <tr>
                            <td style="width: 133px; height: 20px;">
                                <asp:CheckBox ID="sbxz" runat="server" Text="水表新装" Enabled="false" />
                            </td>
                            <td style="height: 20px">
                                <asp:CheckBox ID="yqgdxj" runat="server" Text="园区管道新建" Enabled="false" />
                            </td>
                            <td style="height: 20px">
                                <asp:CheckBox ID="hbxj" runat="server" Text="户表新建" Enabled="false" />
                            </td>
                            <td style="width: 148px; height: 20px;">
                                <asp:CheckBox ID="ecjyxj" runat="server" Text="二次加压新建" Width="100px" Enabled="false" />
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 133px">
                                <asp:CheckBox ID="qb" runat="server" Text="迁表" Enabled="false" />
                            </td>
                            <td>
                                <asp:CheckBox ID="hb" runat="server" Text="合表" Enabled="false" />
                            </td>
                            <td>
                                <asp:CheckBox ID="fb" runat="server" Text="分表" Enabled="false" />
                            </td>
                            <td style="width: 148px">
                                <asp:CheckBox ID="gb" runat="server" Text="改表" Width="74px" Enabled="false" />
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 133px">
                                <asp:CheckBox ID="hbgz" runat="server" Text="户表改造" Enabled="false" />
                            </td>
                            <td>
                                <asp:CheckBox ID="bzqt" runat="server" Text="其他" Enabled="false" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr class="gridItem">
                <th colspan="4">
                    <b>客户信息</b>
                </th>
            </tr>
            <tr>
                <th style="width: 300px">
                    客户名称：
                </th>
                <td colspan='3'>
                    <asp:TextBox ID="khmc" runat="server" Width="617px" Enabled="false"> </asp:TextBox>
                </td>
            </tr>
            <tr>
                <th style="width: 300px">
                    项目名称：
                </th>
                <td colspan='3'>
                    <asp:TextBox ID="xmmc" runat="server" Width="617px" Enabled="false"> </asp:TextBox>
                </td>
            </tr>
            <tr>
                <th style="width: 300px">
                    用水区域：
                </th>
                <td style="width: 319px">
                    <asp:DropDownList ID="ddlysqy" runat="server" CssClass="w200" Width="156px" Enabled="false">
                        <asp:ListItem Text="市中区">
                        </asp:ListItem>
                        <asp:ListItem Text="槐荫区" Selected="True">
                        </asp:ListItem>
                        <asp:ListItem Text="天桥区">
                        </asp:ListItem>
                        <asp:ListItem Text="历下区">
                        </asp:ListItem>
                        <asp:ListItem Text="历城区">
                        </asp:ListItem>
                        <asp:ListItem Text="高新区">
                        </asp:ListItem>
                        <asp:ListItem Text="长清区">
                        </asp:ListItem>
                    </asp:DropDownList>
                </td>
                <th style="width: 225px">
                    管辖范围：
                </th>
                <td style="width: 333px">
                    <asp:DropDownList ID="ddlgxfw" runat="server" Width="206px" CssClass='w200' Enabled="false">
                        <asp:ListItem Value="市区" Text="市区" Selected="True"></asp:ListItem>
                        <asp:ListItem Value="东区" Text="东区"></asp:ListItem>
                        <asp:ListItem Value="西区" Text="西区"></asp:ListItem>
                    </asp:DropDownList>
                    <input id="txtgxfw" runat="server" type="hidden" />
                </td>
            </tr>
            <tr>
                <th style="width: 300px">
                    用水详细地址：
                </th>
                <td colspan="3">
                    <asp:TextBox ID="ysxxdz" runat="server" Width="617px" CssClass='w200' Enabled="false"> </asp:TextBox>
                </td>
            </tr>
            <tr>
                <th colspan="4" style="font-weight: bold;">
                    用水四至范围：
                </th>
            </tr>
            <tr>
                <th style="height: 32px; width: 300px;">
                    东至：
                </th>
                <td style="height: 32px; width: 319px;">
                    <asp:TextBox ID="dongzhi" runat="server" CssClass='w200' Enabled="false"></asp:TextBox>
                </td>
                <th style="height: 32px; width: 144px;">
                    西至：
                </th>
                <td style="height: 32px; width: 333px;">
                    <asp:TextBox ID="xizhi" runat="server" CssClass='w200' Enabled="false"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th style="height: 32px; width: 300px;">
                    南至：
                </th>
                <td style="height: 32px; width: 319px;">
                    <asp:TextBox ID="nanzhi" runat="server" CssClass='w200' Enabled="false"></asp:TextBox>
                </td>
                <th style="height: 32px; width: 144px;">
                    北至：
                </th>
                <td style="height: 32px; width: 333px;">
                    <asp:TextBox ID="beizhi" runat="server" CssClass='w200' Enabled="false"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th style="width: 300px">
                    建筑面积：
                </th>
                <td style="width: 319px">
                    <asp:TextBox ID="jzmj" runat="server" CssClass='w200' Enabled="false"></asp:TextBox>㎡
                </td>
                <th style="width: 144px">
                    地下车库面积：
                </th>
                <td>
                    <asp:TextBox ID="dxckmj" runat="server" CssClass='w200' Enabled="false"></asp:TextBox>㎡
                </td>
            </tr>
            <tr>
                <th style="width: 300px">
                    二次加压：
                </th>
                <td style="width: 319px">
                    <asp:DropDownList ID="ddlecjy" runat="server" Width="206px" CssClass='w200' Enabled="false">
                        <asp:ListItem Value="是" Text="是"></asp:ListItem>
                        <asp:ListItem Value="否" Text="否"></asp:ListItem>
                    </asp:DropDownList>
                </td>
                <th style="width: 144px">
                    二次加压形式：
                </th>
                <td style="width: 333px">
                    <asp:TextBox ID="ecjyxs" runat="server" CssClass='w200' Enabled="false"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th style="width: 300px">
                    其他需要说明的情况：
                </th>
                <td colspan="3">
                    <asp:TextBox ID="qtxysmdqk" runat="server" CssClass='w200' Enabled="false" Width="617px"></asp:TextBox>
                </td>
            </tr>
        </table>
        <table id="Table1" border="0" cellspacing="0" cellpadding="0" class="monad" runat="server"
            visible="false">
            <tr class="gridItem">
                <th colspan="3">
                    <b style="margin-top: 0;">处理信息</b>
                </th>
            </tr>
            <tr class="moash">
                <td>
                    <i>
                        <asp:RadioButton ID="RadTongyi" runat="server" Text="同意" GroupName="yijian" Width="50px"
                            Checked="true" />
                    </i><i>
                        <asp:RadioButton ID="RadButongyi" runat="server" Text="退回" GroupName="yijian" Width="50px" /></i>
                </td>
                <td style="text-align: right">
                    意见：
                </td>
                <td>
                    <asp:TextBox ID="tb_yijian" runat="server" TextMode="MultiLine" Width="500"></asp:TextBox>
                    <input id='yj' runat="server" type="button" class="iptButton" value="选择" onclick="getyj();" />
                    <asp:Label ID="lblshenpiDate" runat="server" Visible="false"></asp:Label>
                    <asp:Label ID="lblShenpi" runat="server" Visible="false"></asp:Label>
                    <asp:Label ID="lbl_shenpicode" runat="server" Visible="false"></asp:Label>
                    <asp:Label ID="lbl_slh" runat="server" Visible="false"></asp:Label>
                </td>
            </tr>
        </table>
        <table style="width: 90%">
            <tr>
                <td style="width: 100%; text-align: center; height: 6px;">
                    <asp:Button ID="SureBtnSave" runat="server" Text=" 提    交 " class="inp in3" OnClientClick="return IsNull();"
                        OnClick="SureBtnSave_Click" />&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="Button1" runat="server" Text=" 关    闭 " class="inp in3" OnClick="Button1_Click">
                    </asp:Button>
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="Button2" runat="server" Text=" 工单信息 " class="inp in3" OnClientClick="detail();">
                    </asp:Button>
                </td>
            </tr>
        </table>
        <asp:Panel ID="Pasgfabx" runat="server" Width="680px">
            <asp:HiddenField ID="hidvalue" runat="server" />
            <asp:HiddenField ID="fjname" runat="server" />
            <input id="processname" type="hidden" runat="server" />
            <input id="usercode" type="hidden" runat="server" />
            <input id="stepname" type="hidden" runat="server" />
            <input id="taskid" type="hidden" runat="server" />
            <input id="Hidden1" runat="server" type="hidden" />
            <input id="lblusercode1" runat="server" type="hidden" />
            <asp:TextBox ID="fj" runat="server" Visible="false"></asp:TextBox>
        </asp:Panel>
    </div>
    </form>
</body>
</html>
